package com.ruoyi.sms.config.properties;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Data
@Component
@ConfigurationProperties(prefix = "jx.sms")
public class JXSmsProperties {

    private Boolean enabled;

    /**
     * 配置节点
     */
    private String endpoint;

    /**
     * key
     */
    private String appKey;

    /**
     * 密匙
     */
    private String appSecret;

    /**
     * 短信签名
     */
    private String appId;

    /**
     * 请求uri
     */
    private String uri;

    /**
     * 短信应用ID (腾讯专属)
     */
    private List<String> template;
}
